package com.geeguo.ebuilder.core.common.utils.key;

import com.fasterxml.uuid.Generators;

public class UUIDGenerator {

    public static String getId() {
        return Generators.timeBasedEpochRandomGenerator().generate().toString();
    }

    public static String get32Id() {
        return Generators.timeBasedEpochRandomGenerator().generate().toString().replaceAll("-", "");
    }
}